﻿Namespace FTTK.Entities

    ''' <summary>
    ''' Defines tag type string for tag type
    ''' </summary>
    ''' <remarks></remarks>
    <Serializable()>
    Public NotInheritable Class TagTypes
        Private Sub New()

        End Sub

        ''' <summary>
        ''' Gets the type string from tag type enum value.
        ''' </summary>
        ''' <param name="type">The tag type enum value.</param>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Shared Function GetTypeString(type As TagType) As String
            Select Case type
                Case TagType.Searched
                    Return TagTypes.Searched
                Case Else
                    Return TagTypes.Used
            End Select
        End Function

        ''' <summary>
        ''' Used.
        ''' </summary>
        ''' <remarks></remarks>
        Public Shared ReadOnly Property Used As String
            Get
                Return "Used"
            End Get
        End Property

        ''' <summary>
        ''' Searched.
        ''' </summary>
        ''' <value></value>
        ''' <returns></returns>
        ''' <remarks></remarks>
        Public Shared ReadOnly Property Searched As String
            Get
                Return "Searched"
            End Get
        End Property

    End Class

End Namespace

